<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<jsp:useBean id="ProduitService" scope="session" class="controle.service.ProduitService">
</jsp:useBean>

<jsp:useBean id="UtilisateurService" scope="session" class="controle.service.UtilisateurService">
</jsp:useBean>
<%=session.getAttribute("login_infor") %>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//fr">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>Page Ajouter Utilisateur</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="Mon page web">
  </head>
  
  <body><div align="center"><br></div><div align="center"> 
    </div><center>
    <h3 style="background-color: rgb(0, 0, 0);"><font size="6" color="#ff0000">Ajouter Utilisateur</font></h3>
    <%
       	//String s =(String) request.getAttribute("msg");
    	//out.println("<strong>"+s+"</strong>");
    	%>
    
       	<form name="firstForm" action="servlet/AjouterUtilisateur" method="post"> 
       	<table>    
       	<tr>
       		<td>Login : </td> <td><input type="text" name="login" /></td>
       	 	
       	</tr>
       	<tr>
       		<td>Password :</td><td><input type="text" name="password" /></td>
       		
       	</tr>
       	<tr>
       		<td>Email : </td> <td><input type="text" name="email" /></td>
       		
       	</tr>
   
       	<tr>
       		<td>Nom: </td> <td><input type="text" name="nom" /></td>
       		
       	</tr>
       	<tr>
       		<td>Prenom: </td> <td><input type="text" name="prenom" /></td>
       		
       	</tr>
        <tr>
       		<td>Adresse :</td> <td><input type="text" name="adresse" /></td>
       		
       	</tr>
       	<tr>
       		<td>Telephone :</td> <td><input type="text" name="telephone" /></td>
       		
       	</tr>
       	<tr>
       		<td>Administrateur :</td> <td><input type="text" name="administrateur" /></td>
       		
       	</tr>
     <tr><td></br></td></tr>
     	<tr >
       		<td colspan="2" align="center"><input type="submit" name="valider" value="Valider"/></td> 
       		
       	</tr>
		</table>
	</form>

    </center>
  </body>
</html>
